laravel plural and singular

29

echo Illuminate\Support\Str::plural('list', 1); // list
echo Illuminate\Support\Str::plural('list', 2); // lists

Comments

Submit
0 Comments